// TypeScript file
module view{
    export class GameViewBackHomePanel extends eui.Component {
            public backhome: eui.Button
            public quxiao: eui.Button
            
            public constructor(){
                super();
                this.skinName=view.GameViewBackHome;
                this.backhome.addEventListener(egret.TouchEvent.TOUCH_TAP, this.BackHome, this)
                this.quxiao.addEventListener(egret.TouchEvent.TOUCH_TAP, this.QuXiao, this)
            }
            private BackHome(e: egret.TouchEvent): void {//返回首页
                this.dispatchEventWith("home");
            }
            private QuXiao(e: egret.TouchEvent): void {//取消
                this.dispatchEventWith("quxiaoskin");
            }
    }
}